import java.awt.*;

import javax.swing.*;



public class Actividad9 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		JFrame f=new JFrame();
		f.setSize(300,250);
		f.setLayout(new BorderLayout());
		
		JButton b1=new JButton("CENTER");
		JButton b2=new JButton("WEST");
		JButton b3=new JButton("EAST");
		JButton b4=new JButton("NORTH");
		JButton b5=new JButton("SOUTH");
		f.getContentPane().add(b1,BorderLayout.CENTER);
		f.getContentPane().add(b2,BorderLayout.WEST);
		f.getContentPane().add(b3,BorderLayout.EAST);
		f.getContentPane().add(b4,BorderLayout.NORTH);
		f.getContentPane().add(b5,BorderLayout.SOUTH);
		
		f.setVisible(true);

	}

}
